package com.wudi;

public class FactoryBenz implements ICarFactory{

    @Override
    public Car carFactoryMethor() {
        return new EntityBenz();
    }
    @Override
    public Car carFactoryMethor(String carName) {
        return new EntityBenz(carName);
    }
}
